﻿<UserControl x:Class="OnlineVideos.QuizHistory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480" Loaded="UserControl_Loaded">
    
    <Grid x:Name="LayoutRoot">
        <ListBox x:Name="lbxSubjectsList" Grid.Row="0" Margin="0,-20,0,30" SelectionChanged="lbxSubjectsList_SelectionChanged" Foreground="White" VerticalAlignment="Top">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal" Height="120" Width="480">
                        <Image Source="/Images/ArrowImg.png" Height="43" Width="43" VerticalAlignment="Center" Margin="10,10,5,0"/>
                        <TextBlock Text="{Binding Name}" Margin="4,4,0,0" Width="323" FontSize="26" VerticalAlignment="Center" TextWrapping="Wrap" Tag="{Binding Sno}"/>
                        <TextBlock Text="{Binding QuizResult}"  Width="83" FontSize="24"  TextWrapping="Wrap" Margin="2,35,20,10"/>
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <Canvas>
            <TextBlock x:Name="tblksubjectstest" Canvas.Top="200" Canvas.Left="80" FontSize="28" Visibility="Collapsed" Foreground="White"/>
        </Canvas>
    </Grid>
</UserControl>
